package com.marvels.financial.loan.api;

import com.marvels.financial.loan.dto.McfeLendingProcess;
import com.marvels.financial.loan.dto.McfeLendingProcessLog;

/**
 * 放款审核信息
 * @author tangpw
 *
 */
public interface FiancialLoanAuditApi {
	
	/**
	 * 插入放款审核信息
	 * @param mcfeLendingProcess
	 * @return
	 */
	public int insertLoanAuditInfo(McfeLendingProcess mcfeLendingProcess);
	
	
	/**
	 * 更新放款审核信息
	 * @param mcfeLendingProcess
	 * @return
	 */
	public int updateLoanAuditInfo(McfeLendingProcess mcfeLendingProcess);
	
	
	/**
	 * 根据loanId 状态查询放款审核信息
	 * @param loanId
	 * @param status
	 * @return
	 */
	public McfeLendingProcess selectByloanIdAndStatus(String loanId,String status);
	
	
	/**
	 * 插入放款审核日志信息
	 * @param mcfeLendingProcessLog
	 * @return
	 */
	public int insertLoanAuditLogInfo(McfeLendingProcessLog mcfeLendingProcessLog);
}
